<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>首页</title>
    <script src="https://cdn.tailwindcss.com"></script>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
</head>
<body class="bg-gray-50">
    <!-- 顶部欢迎区域 -->
    <div class="bg-gradient-to-r from-blue-500 to-blue-600 text-white p-6">
        <div class="flex items-center justify-between mb-4">
            <div>
                <h1 class="text-xl font-bold">早上好，张经理</h1>
                <p class="text-blue-100 text-sm">今天是 2024年1月15日</p>
            </div>
            <div class="w-10 h-10 bg-white bg-opacity-20 rounded-full flex items-center justify-center">
                <i class="fas fa-bell text-white"></i>
            </div>
        </div>
        
        <!-- 今日概览 -->
        <div class="grid grid-cols-3 gap-4">
            <div class="text-center">
                <div class="text-2xl font-bold">24</div>
                <div class="text-xs text-blue-100">今日新增</div>
            </div>
            <div class="text-center">
                <div class="text-2xl font-bold">156</div>
                <div class="text-xs text-blue-100">处理中</div>
            </div>
            <div class="text-center">
                <div class="text-2xl font-bold">8</div>
                <div class="text-xs text-blue-100">待处理</div>
            </div>
        </div>
    </div>

    <!-- 快捷操作 -->
    <div class="p-4">
        <div class="grid grid-cols-4 gap-4 mb-6">
            <div class="text-center">
                <div class="w-12 h-12 bg-blue-100 rounded-xl flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-plus text-blue-600"></i>
                </div>
                <span class="text-xs text-gray-600">新增车辆</span>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-green-100 rounded-xl flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-search text-green-600"></i>
                </div>
                <span class="text-xs text-gray-600">检测查询</span>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-orange-100 rounded-xl flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-file-alt text-orange-600"></i>
                </div>
                <span class="text-xs text-gray-600">资料管理</span>
            </div>
            <div class="text-center">
                <div class="w-12 h-12 bg-purple-100 rounded-xl flex items-center justify-center mx-auto mb-2">
                    <i class="fas fa-chart-bar text-purple-600"></i>
                </div>
                <span class="text-xs text-gray-600">数据统计</span>
            </div>
        </div>

        <!-- 状态分布 -->
        <div class="bg-white rounded-xl p-4 mb-4">
            <div class="flex items-center justify-between mb-4">
                <h3 class="font-semibold text-gray-800">车辆状态分布</h3>
                <span class="text-blue-600 text-sm">查看全部</span>
            </div>
            <div class="space-y-3">
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <div class="w-3 h-3 bg-blue-500 rounded-full mr-3"></div>
                        <span class="text-sm text-gray-600">采购中</span>
                    </div>
                    <div class="flex items-center">
                        <span class="text-sm font-medium">12</span>
                        <span class="text-xs text-gray-400 ml-1">辆</span>
                    </div>
                </div>
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <div class="w-3 h-3 bg-yellow-500 rounded-full mr-3"></div>
                        <span class="text-sm text-gray-600">检测中</span>
                    </div>
                    <div class="flex items-center">
                        <span class="text-sm font-medium">8</span>
                        <span class="text-xs text-gray-400 ml-1">辆</span>
                    </div>
                </div>
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <div class="w-3 h-3 bg-green-500 rounded-full mr-3"></div>
                        <span class="text-sm text-gray-600">过户中</span>
                    </div>
                    <div class="flex items-center">
                        <span class="text-sm font-medium">15</span>
                        <span class="text-xs text-gray-400 ml-1">辆</span>
                    </div>
                </div>
                <div class="flex items-center justify-between">
                    <div class="flex items-center">
                        <div class="w-3 h-3 bg-purple-500 rounded-full mr-3"></div>
                        <span class="text-sm text-gray-600">待出口</span>
                    </div>
                    <div class="flex items-center">
                        <span class="text-sm font-medium">23</span>
                        <span class="text-xs text-gray-400 ml-1">辆</span>
                    </div>
                </div>
            </div>
        </div>

        <!-- 预警提醒 -->
        <div class="bg-white rounded-xl p-4 mb-4">
            <div class="flex items-center justify-between mb-4">
                <h3 class="font-semibold text-gray-800">预警提醒</h3>
                <span class="text-red-600 text-sm">3条</span>
            </div>
            <div class="space-y-3">
                <div class="flex items-center p-3 bg-red-50 rounded-lg">
                    <div class="w-8 h-8 bg-red-100 rounded-full flex items-center justify-center mr-3">
                        <i class="fas fa-exclamation-triangle text-red-600 text-xs"></i>
                    </div>
                    <div class="flex-1">
                        <div class="text-sm font-medium text-gray-800">检测超时</div>
                        <div class="text-xs text-gray-500">3辆车检测超过24小时</div>
                    </div>
                    <span class="text-xs text-red-600">紧急</span>
                </div>
                <div class="flex items-center p-3 bg-orange-50 rounded-lg">
                    <div class="w-8 h-8 bg-orange-100 rounded-full flex items-center justify-center mr-3">
                        <i class="fas fa-clock text-orange-600 text-xs"></i>
                    </div>
                    <div class="flex-1">
                        <div class="text-sm font-medium text-gray-800">过户延期</div>
                        <div class="text-xs text-gray-500">5辆车过户资料不齐</div>
                    </div>
                    <span class="text-xs text-orange-600">注意</span>
                </div>
            </div>
        </div>

        <!-- 最近活动 -->
        <div class="bg-white rounded-xl p-4">
            <div class="flex items-center justify-between mb-4">
                <h3 class="font-semibold text-gray-800">最近活动</h3>
                <span class="text-blue-600 text-sm">查看全部</span>
            </div>
            <div class="space-y-3">
                <div class="flex items-center">
                    <div class="w-8 h-8 bg-blue-100 rounded-full flex items-center justify-center mr-3">
                        <i class="fas fa-car text-blue-600 text-xs"></i>
                    </div>
                    <div class="flex-1">
                        <div class="text-sm text-gray-800">新增车辆 BMW X5</div>
                        <div class="text-xs text-gray-500">2分钟前</div>
                    </div>
                </div>
                <div class="flex items-center">
                    <div class="w-8 h-8 bg-green-100 rounded-full flex items-center justify-center mr-3">
                        <i class="fas fa-check text-green-600 text-xs"></i>
                    </div>
                    <div class="flex-1">
                        <div class="text-sm text-gray-800">检测完成 Audi A6</div>
                        <div class="text-xs text-gray-500">15分钟前</div>
                    </div>
                </div>
                <div class="flex items-center">
                    <div class="w-8 h-8 bg-purple-100 rounded-full flex items-center justify-center mr-3">
                        <i class="fas fa-ship text-purple-600 text-xs"></i>
                    </div>
                    <div class="flex-1">
                        <div class="text-sm text-gray-800">装船完成 Mercedes C200</div>
                        <div class="text-xs text-gray-500">1小时前</div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</body>
</html> 